package yl.hs.bmipfull.daos.material;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.material.RawMaterialTransferOrderEntity;

import java.util.List;
import java.util.Map;

/*
 * IRawMaterialTransferDao
 * @category
 * @author 谢景广
 * @date 2022-12-23
 */
@Repository
public interface IRawMaterialTransferDao extends BaseDao<RawMaterialTransferOrderEntity> {
    List<RawMaterialTransferOrderEntity> queryAllPlan();

    int queryCountByCondition(@Param("map") Map<String, Object> query, List<Map<String, Object>> filters);

    List<RawMaterialTransferOrderEntity> queryPage(@Param("map") Map<String, Object> query, List<Map<String, Object>> filters);

    RawMaterialTransferOrderEntity findByTruck(@Param("truckPlate") String truckPlate);

    List<RawMaterialTransferOrderEntity> queryAll(String key);
}
